package com.yeyks.common.appcommon.dto.account;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.yeyks.common.appcommon.dto.AppRouteDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author Administrator
 */
@ApiModel(description = "App账户返回的数据信息")
@Data
public class AppAccountDTO implements Serializable {
    private static final long serialVersionUID = 7595484864382374638L;

    @ApiModelProperty("主键Id, 用户Id")
    private Integer id;

    @ApiModelProperty("创建时间")
    private Date gmtCreate;

    @ApiModelProperty("修改时间")
    private Date gmtModified;

    @ApiModelProperty("父类Id")
    private Integer parentId;

    @ApiModelProperty("老大ID")
    private Integer managerId;

    @ApiModelProperty("账户区域")
    private String area;

    @ApiModelProperty("地址的Code, 筛选必用/ 如果为空， 说明就查询所有省")
    private String divCode;

    @ApiModelProperty("省的code码")
    private String provinceCode;

    @ApiModelProperty("市的code码")
    private String cityCode;

    @ApiModelProperty("区/县的code码")
    private String countryCode;

    @ApiModelProperty("手机号")
    private String phone;

    @ApiModelProperty("用于账户登陆的账户名")
    private String username;

    @ApiModelProperty("真实姓名")
    private String name;

    @ApiModelProperty("妮称")
    private String nickname;

    @ApiModelProperty("密码")
    @JsonIgnore
    private String password;

    @ApiModelProperty("性别")
    private Boolean gender;

    @ApiModelProperty("账户是否有效")
    private Boolean valid;

    @ApiModelProperty("当前账户状态")
    private Integer status;

    @ApiModelProperty("账户的类型，1总公司，2分公司，3市代理，4酒店运营商，5酒店，6用户")
    private Integer type;

    @ApiModelProperty("电子邮箱")
    private String email;

    @ApiModelProperty("其他信息")
    private String extraInfo;

    @ApiModelProperty("子类Id")
    private Integer grandchildrenCount;

    @ApiModelProperty("售卡数")
    private Integer saleCardCount;

    @ApiModelProperty("账号路由的集合")
    private List<AppRouteDTO> routeList;
}
